package me.landery.modules.sinco.service.dto;

import lombok.Getter;
import lombok.Setter;
import me.landery.base.BaseDTO;
import me.landery.base.BaseEntity;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author cc.w
 * @Date 2022/6/7 23:00
 * @Version 1.0
 */
@Getter
@Setter
public class VipDto extends BaseDTO implements Serializable {
    @NotNull(groups = BaseEntity.Update.class)
    private Long id;
    private UserSmallDto user;
    private ModeDto mode;
    private Double balance;
    private Long quota;
    private Double price;
    private Date expiration;
    private Double profit;
}
